<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<div class="app">
        <div class="content-wrap">
            <ul class="nav nav-tabs">
                <li><a href="#" onclick="loadDiv('mainCenterDiv','${ctx}/nurse/index')">床位列表</a></li>
                <li class="active">
                    <a href="#">预交金余额查询</a>
                </li>
            </ul>
            <div class="row" id="topDivId">
                    <section class="panel">
                        <div class="panel-body">
                            <div class="table-responsive no-border">
                                <div class="datatable-top">
                                    <div class="pull-left">
                                        <form id="searchFormService" modelAttribute="sysService" onsubmit="return loadDivForm('mainCenterDiv','searchFormService','${ctx}/nurse/paymentsSearch');" method="post" class="form-inline">
                                            <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
                                            <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
                                            <label>姓名：</label><input name="name" value="${name}"  maxlength="50" class="form-control" />
                                            &nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
                                        </form>
                                    </div>
                                </div>
                            <table id="contentTable" class="table table-bordered mg-t datatable">
                                <thead>
                                  <tr>
                                      <th>姓名</th>
                                      <th>床号</th>
                                      <th>病区</th>
                                      <th>预交金</th>
                                      <th>消费</th>
                                      <th>余额</th>
                                  </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="${page.list}" var="blance">
                                    <tr>
                                        <td>${blance.name}</td>
                                        <td>${blance.bedno}</td>
                                        <td>${blance.deptname}</td>
                                        <td>${blance.amount}</td>
                                        <td>${blance.cost}</td>
                                        <td>${blance.balance}</td>
                                    </tr>
                                </c:forEach>

                                </tbody>
                            </table>
                            <div class="pagination">${page}</div>
                         </div>
                        </div>
                    </section>
            </div>
        </div>
</div>
</div>
</div>